import request from '@/utils/request'
// 运费管理列表
export const getfreightList = () => {
  return request({
    method: 'get',
    url: '/carriages'
  })
}
// 新增运费模板
export const addfreightList = (data) => {
  return request({
    method: 'post',
    url: '/carriages',
    data
  })
}
// 删除运费模板
export const delFeeApi = (id) => {
  return request({
    url: `/carriages/${id}`,
    method: 'delete'
  })
}
